<?php
$start = microtime(true);
// include our functions, including config
include_once './joleblog/functions.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $blog_title;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<link href="simpler.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="./joleblog/rss.php" />
</head>
<body>
<div id="wrap">
	<div id="head">
		<ul class="navbar">
			<li><a href="#">Products</a></li>
			<li><a href="#">About</a></li>
			<li><a href="#">Contact</a></li>
		</ul>
		<h1 class="title"><?php echo $blog_title;?></h1>
	</div>
	<div id="main">
		<div id="splash"><h2 class="subtitle"><?php echo $blog_title;?> - <?php print_version();?></h2></div>
		<div id="content">
			<div class="box" id="who">
<?php if (isset($_GET['post'])) {$post = $_GET['post'];show_one($post);echo '<div class="nav"><a href="index.php">Home</a></div>';}elseif (isset($_GET['page'])) {$page = $_GET['page'];show_page($page);show_nav($page);}else {show_page(1); show_nav(1);}?>
<div style="text-align:center;">Page generated in: <?php echo (round((microtime(true)) - $start, 4)); ?> seconds.</p></div>	
				</div>

		</div>
	</div>
	<div id="footer">
		<p>&copy; Name | Design by <a href="mailto:webmaster(at)drugo.biz">Carlo Forghieri</a></p>
	</div>
</div>

</body>
</html>
